package com.joinway.framework.admin.core.bean.view;

import java.util.List;
import java.util.Map;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.BaseBean;

@ApiObject(name = "EasyUIDataGrid", description = "easyui datagrid格式json")
public class EasyUIDataGrid extends BaseBean {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiObjectField(description = "数据总条数，显示分页用") 
	protected int total;
	
	@ApiObjectField(description = "数据行") 
	protected List<Map<String, ?>> rows;

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<Map<String, ?>> getRows() {
		return rows;
	}

	public void setRows(List<Map<String, ?>> rows) {
		this.rows = rows;
	}
}
